package com.jiamao.goplay.bean;

public class BaseRep<T> {
private int code;
private String msg;
private T data;

public int getCode() {
        return code;
        }

public void setCode(int code) {
        this.code = code;
        }

public T getData() {
        return data;
        }

public void setData(T result) {
        this.data = result;
        }

public boolean isOk() {
        return code == 200;
        }

public String getMsg() {
        return msg;
        }

public void setMsg(String message) {
        this.msg = message;
        }
}
